package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkOrderLoanPeopleDivision;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CkOrderLoanPeopleDivisionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderLoanPeopleDivision record);

    int insertSelective(CkOrderLoanPeopleDivision record);

    CkOrderLoanPeopleDivision selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderLoanPeopleDivision record);

    int updateByPrimaryKeyWithBLOBs(CkOrderLoanPeopleDivision record);

    int updateByPrimaryKey(CkOrderLoanPeopleDivision record);

    List<CkOrderLoanPeopleDivision> selectList(Map<String, String> params);

    List<CkOrderLoanPeopleDivision> selectByStatus(byte status);

    void updateList(@Param("ckOrderLoanPeopleDivisions") List<CkOrderLoanPeopleDivision> ckOrderLoanPeopleDivisions);

    void insertForEach(List<CkOrderLoanPeopleDivision> ckOrderLoanPeopleDivisions);

}